package com.boot.generate.enums;

/**
 * Java类型枚举
 *
 * @author 【zhouJie】
 */
public enum JavaTypeEnum {

    STRING("String" , null),
    LONG("Long" , null),
    FLOAT("Float" , null),
    INTEGER("Integer" , null),
    DOUBLE("Double" , null),
    BOOLEAN("Boolean" , null),
    DATE("Date" , "java.utils.Date"),
    BIGDECIMAL("BigDecimal" , "java.math.BigDecimal");

    private final String type;
    private final String pkg;

    JavaTypeEnum(String type, String pkg) {
        this.type = type;
        this.pkg = pkg;
    }

    public String getType() {
        return type;
    }

    public String getPkg() {
        return pkg;
    }

}
